package org.wangzs.blog.service.inner;

import org.springframework.dao.DataAccessException;
import org.wangzs.blog.entity.Page;
import org.wangzs.blog.entity.TPost;


public interface IPostService {
	public TPost get(String postId);
	
	public Page<TPost> get(int pageSize, int pageNum);
	
	public int save(TPost post) throws DataAccessException;
	
	public int update(TPost post);
	
	public int delete(String postId);
	
	public int getTotalNum();

}
